package controller;

import javax.microedition.lcdui.Command;
import javax.microedition.lcdui.Display;
import javax.microedition.lcdui.Displayable;
import javax.microedition.midlet.MIDlet;
import javax.microedition.midlet.MIDletStateChangeException;

public class TrafficTip extends MIDlet
{
	private Display display;
	private Command[] commands;
	private Displayable displayable;

	public TrafficTip()
	{
		this.display = Display.getDisplay(this);
	}

	protected void startApp() throws MIDletStateChangeException
	{
		Controller controller = new Controller(this);
		controller.action(Controller.START);
	}
	
	protected void destroyApp(boolean arg0) throws MIDletStateChangeException
	{
		// TODO Auto-generated method stub

	}

	protected void pauseApp()
	{
		// TODO Auto-generated method stub
	}

	public Display getDisplay()
	{
		return display;
	}

	public void setDisplay(Display display)
	{
		this.display = display;
	}

	public Command[] getCommands()
	{
		return commands;
	}

	public void setCommands(Command[] commands)
	{
		this.commands = commands;
	}

	public Displayable getDisplayable()
	{
		return displayable;
	}

	public void setDisplayable(Displayable displayable)
	{
		this.displayable = displayable;
	}
	
	
}
